<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Login extends CI_Controller {

	public function __construct()
	{
		parent::__construct();
	}
	
	public function index()
	{
        if (isset($_POST['user']) && isset($_POST['password'])) {
                echo 1;
        }
		$this->load->view('login_index');
	}

    public function op_login()
    {
        echo 2;exit;

        echo $_POST['user'];

    }


}
